<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

switch($route->getAdminAction())
{
	case "index": require_once CABINET.DS."_profile".DS."start.php"; break;
	case "edit": require_once CABINET.DS."_profile".DS."edit.php"; break;

	default: goToPage("/cabinet/profile");
}

?>